
package org.dromara.timemate.domain.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;

@Data
public class WearerUserBo {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 穿戴者名称
     */
    @NotBlank(message = "穿戴者名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String wearerName;

    /**
     * 穿戴者性别
     */
    @NotBlank(message = "穿戴者性别不能为空", groups = {AddGroup.class, EditGroup.class})
    private String gender;


}
